/**
 * Store — stone/gray palette (OPE / News / Top Voters)
 */

/*-------------------------------------------------------------------------*/
/* Shell
/*-------------------------------------------------------------------------*/
.store[store] {
	--st-text: #d7d0c4;
	--st-muted: #8a8378;
	--st-accent: #b3a26e;
	--st-accent-soft: #d5c698;
	--st-gold: #e6c86a;
	--st-silver: #c8c3b8;
	--st-radius: 8px;
	--st-border: rgba(115, 109, 98, 0.35);
	--st-border-strong: rgba(179, 162, 110, 0.45);
	--st-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.21), 0 1px 1px 0 rgba(0, 0, 0, 0.25);
	--st-card: linear-gradient(165deg, rgba(51, 49, 45, 0.92) 0%, rgba(25, 23, 20, 0.96) 100%);
	--st-inset: rgba(0, 0, 0, 0.28);

	--gap: 0.75rem;
	--filter: brightness(1.08);
	--box-shadow: var(--st-shadow);
	--border-radius: var(--st-radius);
	--background-color: transparent;

	--color-gold: var(--st-gold);
	--color-silver: var(--st-silver);

	--nav-link-arrow-filter: none;

	--nav-link-color-idle: var(--st-muted);
	--nav-link-color-hover: var(--st-accent-soft);
	--nav-link-color-active: #ebe3cf;

	--nav-link-border-idle: 1px solid var(--st-border);
	--nav-link-border-hover: 1px solid var(--st-border-strong);
	--nav-link-border-active: 1px solid var(--st-border-strong);

	--nav-link-background-idle: var(--st-inset);
	--nav-link-background-hover: rgba(17, 17, 23, 0.85);
	--nav-link-background-active: rgba(179, 162, 110, 0.16);

	--nav-sublink-color-idle: var(--st-muted);
	--nav-sublink-color-hover: var(--st-accent-soft);
	--nav-sublink-color-active: #ebe3cf;

	--nav-sublink-border-idle: 1px solid transparent;
	--nav-sublink-border-hover: 1px solid rgba(115, 109, 98, 0.3);
	--nav-sublink-border-active: 1px solid rgba(179, 162, 110, 0.35);

	--nav-sublink-background-idle: transparent;
	--nav-sublink-background-hover: rgba(0, 0, 0, 0.22);
	--nav-sublink-background-active: rgba(179, 162, 110, 0.14);

	width: 100%;
	height: auto;
	padding: 0;
	color: var(--st-text);
	font-family: var(--font-family-primary, Calibri, system-ui, sans-serif);
	animation: st-store-fade 0.4s ease;
}

@keyframes st-store-fade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.box.type-store > .box-head,
.box.type-default:has(.store[store]) > .box-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	height: auto;
	min-height: var(--box-head-height, 48px);
	padding: 0.7rem 1rem;
	line-height: 1.2;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #d5c698;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
	background: linear-gradient(180deg, rgba(17, 17, 23, 0.55) 0%, rgba(17, 17, 23, 0.15) 100%);
	border-bottom: 1px solid rgba(179, 162, 110, 0.18);
}

@media screen and (max-width: 991px) {
	.store[store] .page-subbody.p-0 {
		box-shadow: none;
		background: transparent;
	}
}

/*-------------------------------------------------------------------------*/
/* Filters
/*-------------------------------------------------------------------------*/
.store[store] .store__filter {
	--filter-items: 1;
	width: 100%;
	height: auto;
	gap: var(--gap);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	flex-direction: row;
}

.store[store] .store__filter.store__filter--primary {
	position: relative;
	z-index: 40;
	overflow: visible;
	padding: 0.85rem;
	border-radius: var(--st-radius);
	border: 1px solid var(--st-border);
	background: var(--st-card);
	box-shadow: var(--st-shadow);
}

.store[store] .store__filter.store__filter--primary::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(180deg, #d5c698, var(--st-accent));
	pointer-events: none;
}

.store[store] .store__filter.store__filter--secondary {
	position: relative;
	z-index: 30;
	overflow: visible;
	margin: var(--gap) 0;
	padding: 0.65rem 0.85rem;
	border-radius: var(--st-radius);
	border: 1px solid rgba(115, 109, 98, 0.28);
	background: rgba(0, 0, 0, 0.22);
}

/* Selectbox plugin replaces native <select> after load — menus open over the cart and item card */
.store[store] .store__filter .filter__block {
	position: relative;
	overflow: visible;
}

.store[store] .store__filter .sbHolder {
	position: relative;
	z-index: 50;
	overflow: visible;
}

.store[store] .store__filter .sbHolder .sbOptions {
	z-index: 80 !important;
	max-height: none !important;
	overflow: visible !important;
	overflow-y: visible !important;
}

.store[store] .store__filter .filter__block {
	width: calc((100% - (var(--gap) * (var(--filter-items) - 1))) / var(--filter-items));
	height: auto;
	flex: 0 0 auto;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	flex-direction: row;
}

.store[store] .store__filter .filter__block > * {
	width: 100%;
	height: auto;
}

.store[store] .store__filter select,
.store[store] .store__filter input[type="text"] {
	width: 100%;
	height: 2.35rem;
	padding: 0 0.75rem;
	border-radius: 6px;
	border: 1px solid var(--st-border);
	background: rgba(0, 0, 0, 0.35);
	color: var(--st-accent-soft);
	font-size: 0.82rem;
	font-weight: 600;
	outline: none;
	transition: border-color 0.15s ease;
}

.store[store] .store__filter select:focus,
.store[store] .store__filter input[type="text"]:focus {
	border-color: var(--st-border-strong);
}

.store[store] .store__filter select option {
	background: #1a1815;
	color: #e8e2d6;
}

.store[store] .store__filter input[type="text"]::placeholder {
	color: var(--st-muted);
}

.store[store] .store__filter .filter__block--currency {
	gap: 0.35rem;
}

.store[store] .store__filter .store-balance {
	min-width: 5.5rem;
}

.store[store] .store__filter .store-balance__label {
	opacity: 0.85;
}

.store[store] .store__filter .store-balance__value {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 800;
	font-size: 0.85rem;
	line-height: 1;
	padding: 0.12rem 0.4rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(115, 109, 98, 0.35);
	color: #ebe4d6;
}

.store[store] .store__filter .store-balance--vp .store-balance__value {
	color: var(--st-silver);
	border-color: rgba(184, 179, 168, 0.4);
}

.store[store] .store__filter .store-balance--dp .store-balance__value {
	color: var(--st-gold);
	border-color: rgba(230, 200, 106, 0.4);
}

.store[store] .store__filter .filter__block > .nice_button.nice_active .store-balance__value {
	background: rgba(0, 0, 0, 0.18);
	border-color: rgba(31, 29, 24, 0.25);
	color: #1f1d18;
}

.store[store] .store__filter .filter__block > .nice_button {
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	height: 2.35rem;
	padding: 0 0.75rem;
	border-radius: 6px !important;
	border: 1px solid var(--st-border) !important;
	background: rgba(0, 0, 0, 0.28) !important;
	color: var(--st-muted) !important;
	font-size: 0.72rem !important;
	font-weight: 750 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: none !important;
	text-shadow: none !important;
}

.store[store] .store__filter .filter__block > .nice_button:hover {
	border-color: var(--st-border-strong) !important;
	color: var(--st-accent-soft) !important;
}

.store[store] .store__filter .filter__block > .nice_button.nice_active {
	color: #1f1d18 !important;
	background: linear-gradient(145deg, #d5c698, var(--st-accent)) !important;
	border-color: rgba(179, 162, 110, 0.55) !important;
}

.dp_price_value {
	color: var(--st-gold);
}

@media screen and (min-width: 992px) {
	.store[store] .store__filter {
		--filter-items: 4;
		padding: 0;
	}

	.store[store] .store__filter.store__filter--primary {
		padding: 0.95rem 1rem 0.95rem 1.15rem;
	}

	.store[store] .store__filter.store__filter--secondary {
		margin: 0.75rem 0;
	}
}

/*-------------------------------------------------------------------------*/
/* Realm layout
/*-------------------------------------------------------------------------*/
.store[store] .store__realm {
	--realm-gap: 0.45rem;
	--realm-height: 520px;
	position: relative;
	z-index: 1;
	width: 100%;
	height: var(--realm-height);
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.store[store] .store__realm .realm__block {
	width: 100%;
	height: 100%;
	gap: var(--realm-gap);
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-direction: column;
}

.store[store] .store__realm .realm__block .realm__left {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: auto;
	direction: rtl;
	border-radius: var(--st-radius);
	border: 1px solid var(--st-border);
	background: var(--st-card);
	box-shadow: var(--st-shadow);
}

.store[store] .store__realm .realm__block .realm__right {
	width: 100%;
	height: 100%;
	padding: 0.65rem;
	overflow: auto;
	border-radius: var(--st-radius);
	border: 1px solid var(--st-border);
	background: var(--st-card);
	box-shadow: var(--st-shadow);
	position: relative;
}

.store[store] .store__realm .realm__block .realm__right::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(180deg, #d5c698, var(--st-accent));
	pointer-events: none;
	z-index: 1;
}

@media screen and (min-width: 992px) {
	.store[store] .store__realm {
		--realm-height: 460px;
	}

	.store[store] .store__realm .realm__block {
		flex-direction: row;
	}

	.store[store] .store__realm .realm__block .realm__left {
		width: 26%;
	}

	.store[store] .store__realm .realm__block .realm__right {
		width: auto;
		flex: auto;
	}
}

/*-------------------------------------------------------------------------*/
/* Nav
/*-------------------------------------------------------------------------*/
.store[store] .store__nav {
	width: 100%;
	height: auto;
	gap: var(--realm-gap, 6px);
	padding: 0.55rem;
	display: flex;
	flex-direction: column;
	direction: ltr;
}

.store[store] .store__nav .nav__block {
	width: 100%;
	height: auto;
	gap: 0.3rem;
	display: flex;
	flex-direction: column;
}

.store[store] .store__nav .nav__block .nav__link {
	position: relative;
	width: 100%;
	height: auto;
	color: var(--nav-link-color-idle);
	border: var(--nav-link-border-idle);
	padding: 0.55rem 2rem 0.55rem 0.7rem;
	display: flex;
	align-items: center;
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	border-radius: 6px;
	text-transform: uppercase;
	text-decoration: none !important;
	background-color: var(--nav-link-background-idle);
	transition: all 0.15s ease;
}

.store[store] .store__nav .nav__block .nav__link:hover,
.store[store] .store__nav .nav__block .nav__link:active {
	color: var(--nav-link-color-hover);
	border: var(--nav-link-border-hover);
	background-color: var(--nav-link-background-hover);
	text-decoration: none !important;
}

.store[store] .store__nav .nav__block .nav__link.open,
.store[store] .store__nav .nav__block .nav__link.open:hover,
.store[store] .store__nav .nav__block .nav__link.open:active {
	color: var(--nav-link-color-active);
	border: var(--nav-link-border-active);
	background-color: var(--nav-link-background-active);
}

.store[store] .store__nav .nav__block .nav__link::after {
	width: 0.45rem;
	height: 0.45rem;
	top: 50%;
	right: 0.75rem;
	margin-top: -0.28rem;
	content: '';
	position: absolute;
	border-right: 2px solid var(--st-accent);
	border-bottom: 2px solid var(--st-accent);
	background: none;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	filter: none;
}

.store[store] .store__nav .nav__block .nav__link.open::after {
	transform: rotate(-135deg);
	margin-top: -0.1rem;
}

.store[store] .store__nav .nav__block .nav__list {
	width: 100%;
	height: auto;
	gap: 0.25rem;
	padding: 0 0 0 0.65rem;
	display: flex;
	flex-direction: column;
}

.store[store] .store__nav .nav__block .nav__list .list__link {
	width: 100%;
	height: auto;
	color: var(--nav-sublink-color-idle);
	border: var(--nav-sublink-border-idle);
	padding: 0.4rem 0.55rem;
	display: block;
	border-radius: 5px;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none !important;
	background-color: var(--nav-sublink-background-idle);
	transition: all 0.15s ease;
}

.store[store] .store__nav .nav__block .nav__list .list__link:hover,
.store[store] .store__nav .nav__block .nav__list .list__link:active {
	color: var(--nav-sublink-color-hover);
	border: var(--nav-sublink-border-hover);
	background-color: var(--nav-sublink-background-hover);
	text-decoration: none !important;
}

.store[store] .store__nav .nav__block .nav__list .list__link.active,
.store[store] .store__nav .nav__block .nav__list .list__link.active:hover,
.store[store] .store__nav .nav__block .nav__list .list__link.active:active {
	color: var(--nav-sublink-color-active);
	border: var(--nav-sublink-border-active);
	background-color: var(--nav-sublink-background-active);
	box-shadow: inset 3px 0 0 var(--st-accent);
}

/*-------------------------------------------------------------------------*/
/* Promotions — sparkle / shimmer
/*-------------------------------------------------------------------------*/
@keyframes st-promo-shine {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

@keyframes st-promo-glow {
	0%, 100% {
		box-shadow:
			0 0 0 1px rgba(230, 200, 106, 0.35),
			0 0 10px rgba(230, 200, 106, 0.25),
			0 0 22px rgba(179, 162, 110, 0.18);
	}
	50% {
		box-shadow:
			0 0 0 1px rgba(255, 236, 170, 0.7),
			0 0 16px rgba(230, 200, 106, 0.55),
			0 0 32px rgba(230, 200, 106, 0.3);
	}
}

@keyframes st-promo-spark {
	0%, 100% { opacity: 0.35; transform: scale(0.85) rotate(0deg); }
	40% { opacity: 1; transform: scale(1.15) rotate(12deg); }
	70% { opacity: 0.6; transform: scale(0.95) rotate(-8deg); }
}

.store[store] .store__nav .nav__link--promo {
	position: relative;
	overflow: hidden;
	color: #f0e0a8 !important;
	border-color: rgba(230, 200, 106, 0.55) !important;
	background:
		linear-gradient(
			110deg,
			rgba(179, 162, 110, 0.22) 0%,
			rgba(230, 200, 106, 0.38) 25%,
			rgba(255, 248, 210, 0.55) 50%,
			rgba(230, 200, 106, 0.38) 75%,
			rgba(179, 162, 110, 0.22) 100%
		) !important;
	background-size: 220% 100% !important;
	animation:
		st-promo-shine 3.2s linear infinite,
		st-promo-glow 2.4s ease-in-out infinite;
	text-shadow: 0 0 8px rgba(230, 200, 106, 0.55);
}

.store[store] .store__nav .nav__link--promo::before {
	content: "✦";
	position: absolute;
	left: 0.55rem;
	top: 50%;
	margin-top: -0.55em;
	font-size: 0.7rem;
	color: #ffe9a0;
	animation: st-promo-spark 1.8s ease-in-out infinite;
	pointer-events: none;
	text-shadow: 0 0 8px rgba(255, 230, 140, 0.9);
}

.store[store] .store__nav .nav__link--promo::after {
	border-color: #ffe9a0 !important;
	filter: drop-shadow(0 0 4px rgba(230, 200, 106, 0.8));
}

.store[store] .store__nav .nav__link--promo span {
	padding-left: 0.85rem;
}

.store[store] .store__nav .nav__link--promo:hover,
.store[store] .store__nav .nav__link--promo.open {
	color: #fff6cf !important;
	border-color: rgba(255, 236, 170, 0.8) !important;
}

.store[store] .store__nav .list__link--promo {
	color: #e6d9a8 !important;
}

.store[store] .store__nav .list__link--promo.active {
	box-shadow: inset 3px 0 0 #e6c86a !important;
	background: rgba(230, 200, 106, 0.16) !important;
	border-color: rgba(230, 200, 106, 0.4) !important;
	color: #fff1c2 !important;
}

.store[store] .store__item--promo .item__block--promo {
	border-color: rgba(230, 200, 106, 0.28);
	background:
		linear-gradient(
			90deg,
			rgba(230, 200, 106, 0.08),
			rgba(0, 0, 0, 0.22) 40%,
			rgba(0, 0, 0, 0.22)
		);
}

.store[store] .store__item--promo .item__block--promo:hover {
	border-color: rgba(230, 200, 106, 0.55);
	box-shadow: 0 0 14px rgba(230, 200, 106, 0.2);
}

/*-------------------------------------------------------------------------*/
/* Items
/*-------------------------------------------------------------------------*/
.store[store] .store__item {
	width: 100%;
	height: auto;
	gap: var(--realm-gap, 6px);
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
}

.store[store] .store__item:first-child {
	height: 100%;
	align-items: center;
	justify-content: center;
	color: var(--st-muted);
	font-size: 0.9rem;
}

.store[store] .store__item .item__block {
	position: relative;
	width: 100%;
	height: auto;
	gap: 0.65rem;
	padding: 0.7rem 0.75rem;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	flex-direction: column;
	overflow: hidden;
	border-radius: 7px;
	border: 1px solid transparent;
	background: rgba(0, 0, 0, 0.22);
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.store[store] .store__item .item__block:hover,
.store[store] .store__item .item__block:active {
	filter: none;
	background: rgba(17, 17, 23, 0.85);
	border-color: rgba(179, 162, 110, 0.28);
	transform: translateY(-1px);
}

.store[store] .store__item .item__block::before,
.store[store] .store__item .item__block::after {
	display: none;
}

.store[store] .store__item .item__block .item__icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	position: relative;
}

.store[store] .store__item .item__block .item__icon a {
	width: 100%;
	height: 100%;
	border: 1px solid currentColor;
	display: block;
	box-shadow: inset 0 0 8px 2px rgba(0, 0, 0, 0.65);
	border-radius: 6px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.store[store] .store__item .item__block .item__icon a::before {
	width: 80px;
	height: 0;
	top: 0;
	left: 0;
	content: '';
	opacity: 0.12;
	position: absolute;
	box-shadow: 0 0 80px 80px currentColor;
	pointer-events: none;
}

.store[store] .store__item .item__block .item__icon span {
	color: #fff;
	right: -2px;
	bottom: -6px;
	position: absolute;
	font-size: 11px;
	font-weight: bold;
	text-shadow: 1px 1px 0 #000, 0 1px 0 #000, -1px 1px 0 #000, -1px 0 0 #000;
}

.store[store] .store__item .item__block .item__info {
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	flex-direction: column;
	min-width: 0;
}

.store[store] .store__item .item__block .item__info * {
	line-height: 1.25;
	vertical-align: middle;
}

.store[store] .store__item .item__block .item__info .info__name {
	width: auto;
	height: auto;
	font-size: 0.95rem;
	font-weight: 700;
}

.store[store] .store__item .item__block .item__info .info__name a {
	display: block;
	overflow: hidden;
	max-width: 360px;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-decoration: none !important;
}

.store[store] .store__item .item__block .item__info .info__desc {
	width: auto;
	height: auto;
	margin-top: 0.2rem;
	color: var(--st-muted);
	font-size: 0.78rem;
	font-style: italic;
	text-shadow: none;
}

.store[store] .store__item .item__block .item__info .info__desc a[disabled] {
	cursor: not-allowed;
	opacity: 0.5;
}

.store[store] .store__item .item__block .item__info .info__price {
	width: auto;
	height: auto;
	margin-top: 0.35rem;
	color: var(--st-muted);
	font-size: 0.78rem;
	font-style: normal;
	text-shadow: none;
}

.store[store] .store__item .item__block .item__info .info__price span {
	color: var(--st-gold);
	font-weight: 700;
}

span.vp_color {
	color: var(--st-silver) !important;
}

span.vp_price_value {
	color: #ebe4d6 !important;
}

a.nice_button.vp_button {
	color: var(--st-silver) !important;
}

.store[store] .store__item .item__block .item__info .info__price span i {
	filter: none;
	font-style: normal;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.store[store] .store__item .item__block .item__info .info__price span i[price-gold] { color: var(--color-gold); }
.store[store] .store__item .item__block .item__info .info__price span i[price-silver] { color: var(--color-silver); }

.store[store] .store__item .item__block .item__actions {
	width: auto;
	height: auto;
	gap: 0.35rem;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	flex-direction: row;
}

.store[store] .store__item .item__block .item__actions .nice_button {
	padding: 0.4rem 0.75rem !important;
	font-size: 0.68rem !important;
	font-weight: 750 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
	border-radius: 6px !important;
	border: 1px solid rgba(179, 162, 110, 0.4) !important;
	background: rgba(179, 162, 110, 0.14) !important;
	color: #e6d9a8 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.store[store] .store__item .item__block .item__actions .nice_button:hover {
	background: #111117 !important;
	border-color: rgba(179, 162, 110, 0.55) !important;
	color: #ebe3cf !important;
}

.store[store] .store__item .item__block .item__actions .nice_button.vp_button {
	border-color: rgba(184, 179, 168, 0.4) !important;
	background: rgba(184, 179, 168, 0.12) !important;
	color: var(--st-silver) !important;
}

@media screen and (min-width: 992px) {
	.store[store] .store__item .item__block {
		flex-direction: row;
	}

	.store[store] .store__item .item__block .item__info {
		align-items: flex-start;
	}

	.store[store] .store__item .item__block .item__info .info__price {
		margin: 0.35rem 0 0;
	}

	.store[store] .store__item .item__block .item__actions {
		margin: 0 0 0 auto;
	}
}

/*-------------------------------------------------------------------------*/
/* Cart
/*-------------------------------------------------------------------------*/
.store[store] .store__cart {
	--cart-gap: 0.55rem;
	width: 100%;
	height: auto;
	gap: var(--cart-gap);
	margin: 0 0 0.9rem;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	padding: 0.95rem 1rem;
	border-radius: var(--st-radius);
	border: 1px solid var(--st-border);
	background: var(--st-card);
	box-shadow: var(--st-shadow);
	z-index: 2;
}

.store[store] .store__cart::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(180deg, #d5c698, var(--st-accent));
	pointer-events: none;
}

.store[store] .store__cart .cart__block {
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	position: relative;
	z-index: 1;
	gap: 0.55rem;
}

.store[store] .store__cart .cart__block.cart__block--head {
	flex-direction: row;
	flex-wrap: wrap;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(115, 109, 98, 0.25);
}

.store[store] .store__cart .cart__block .cart__title {
	width: auto;
	height: auto;
	color: var(--st-accent-soft);
	font-size: 0.95rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.store[store] .store__cart .cart__block .cart__title i,
.store[store] .store__cart .cart__block .cart__title b {
	color: #ebe3cf;
	font-style: normal;
}

.store[store] .store__cart .cart__block .cart__price {
	width: auto;
	height: auto;
	gap: 0.65rem;
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	flex-direction: row;
	flex-wrap: wrap;
}

.store[store] .store__cart .cart__block .cart__price span {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	border: 1px solid rgba(115, 109, 98, 0.35);
	background: rgba(0, 0, 0, 0.28);
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--st-muted);
}

.store[store] .store__cart .cart__block .cart__price span i {
	filter: none;
	font-style: normal;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 700;
}

.store[store] .store__cart .cart__block .cart__price span i#dp_price { color: var(--color-gold); }
.store[store] .store__cart .cart__block .cart__price span i#vp_price { color: var(--color-silver); }

.store[store] .store__cart .cart__block .cart__price span .nice_button,
.store[store] .store__cart [store-checkout] {
	display: inline-flex !important;
	align-items: center;
	padding: 0.45rem 0.9rem !important;
	border-radius: 6px !important;
	border: 1px solid rgba(179, 162, 110, 0.45) !important;
	background: linear-gradient(145deg, #d5c698, var(--st-accent)) !important;
	color: #1f1d18 !important;
	font-size: 0.7rem !important;
	font-weight: 750 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
}

.store[store] .store__cart .cart__block .cart__price span .nice_button:hover,
.store[store] .store__cart [store-checkout]:hover {
	filter: brightness(1.08);
}

.store[store] .store__cart .cart__block .cart__items {
	width: 100%;
	height: auto;
	gap: var(--cart-gap);
	display: flex;
	flex-direction: column;
}

.store[store] .store__cart .cart__block .cart__empty {
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	border-radius: 6px;
	border: 1px dashed rgba(115, 109, 98, 0.4);
	background: rgba(0, 0, 0, 0.18);
	color: var(--st-muted);
	font-size: 0.82rem;
	box-shadow: none;
}

/*-------------------------------------------------------------------------*/
/* Cart item rows
/*-------------------------------------------------------------------------*/
.store[store] .store_item.row {
	width: 100%;
	height: auto;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	gap: 0.65rem;
	padding: 0.7rem 0.8rem;
	border-radius: 6px;
	border: 1px solid rgba(115, 109, 98, 0.3);
	background: rgba(0, 0, 0, 0.28);
	box-shadow: none;
}

.store[store] .store_item.row .item_name + span {
	white-space: nowrap;
}

.store[store] .store_item.row .item_price {
	white-space: nowrap;
	color: var(--st-accent-soft);
	font-weight: 700;
}

.store[store] .store_item.row .item_price img {
	margin: 0 0.25rem 0 0;
	vertical-align: middle;
}

.store[store] .store_item.row .delete_item {
	width: auto;
	margin: 0 0 0 auto;
}

/*-------------------------------------------------------------------------*/
/* Checkout / messages
/*-------------------------------------------------------------------------*/
#checkout_info,
[store-checkout-error],
.store[store] ~ #checkout,
#checkout {
	color: var(--st-text, #d7d0c4);
}

#checkout .card,
#checkout_info {
	border-radius: 8px;
	border: 1px solid rgba(115, 109, 98, 0.35);
	background: linear-gradient(165deg, rgba(51, 49, 45, 0.92) 0%, rgba(25, 23, 20, 0.96) 100%);
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.21);
	color: #d7d0c4;
}

#checkout .card-header {
	background: linear-gradient(180deg, rgba(17, 17, 23, 0.55) 0%, rgba(17, 17, 23, 0.15) 100%);
	border-bottom: 1px solid rgba(179, 162, 110, 0.18);
	color: #d5c698;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.78rem;
}

#checkout .nice_button,
#checkout_info .nice_button {
	border-radius: 6px !important;
	border: 1px solid rgba(179, 162, 110, 0.45) !important;
	background: linear-gradient(145deg, #d5c698, #b3a26e) !important;
	color: #1f1d18 !important;
	font-size: 0.72rem !important;
	font-weight: 750 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: none !important;
	text-shadow: none !important;
}

#checkout select {
	width: 100%;
	height: 2.2rem;
	padding: 0 0.55rem;
	border-radius: 6px;
	border: 1px solid rgba(115, 109, 98, 0.4);
	background: rgba(0, 0, 0, 0.35);
	color: #d5c698;
}

.store-message {
	text-align: center;
	padding: 1.1rem 1rem;
	margin: 0.5rem 0;
	border-radius: 8px;
	border: 1px solid rgba(115, 109, 98, 0.35);
	background: linear-gradient(165deg, rgba(51, 49, 45, 0.92) 0%, rgba(25, 23, 20, 0.96) 100%);
	color: #d7d0c4;
	font-size: 0.9rem;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.21);
}

.store-message--success {
	border-color: rgba(179, 162, 110, 0.45);
	color: #d5c698;
}

.store-message--error {
	border-color: rgba(180, 90, 70, 0.45);
	color: #e0b4a8;
}

/*-------------------------------------------------------------------------*/
/* Item request panel
/*-------------------------------------------------------------------------*/
.store-request {
	margin-top: 1.25rem;
	padding: 1rem 1.1rem 1.15rem;
	border-radius: var(--st-radius);
	border: 1px solid var(--st-border);
	background: var(--st-card);
	box-shadow: var(--st-shadow);
}

.store-request__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	color: var(--st-accent-soft);
	font-weight: 700;
}

.store-request__desc {
	margin: 0 0 0.9rem;
	color: var(--st-muted);
	font-size: 0.86rem;
	line-height: 1.45;
}

.store-request__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 0.65rem;
}

.store-request__field {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	min-width: 140px;
	font-size: 0.78rem;
	color: var(--st-muted);
}

.store-request__field--grow {
	flex: 1 1 220px;
}

.store-request__field input,
.store-request__field select,
.store-request__field textarea {
	width: 100%;
	height: 2.2rem;
	padding: 0 0.55rem;
	border-radius: 6px;
	border: 1px solid rgba(115, 109, 98, 0.4);
	background: rgba(0, 0, 0, 0.35);
	color: #d5c698;
	box-sizing: border-box;
}

.store-request__field textarea {
	height: auto;
	min-height: 3.2rem;
	padding: 0.45rem 0.55rem;
	resize: vertical;
}

.store-request__results {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-height: 240px;
	overflow: auto;
	margin-bottom: 0.75rem;
}

.store-request__empty {
	padding: 0.65rem 0.4rem;
	color: var(--st-muted);
	font-size: 0.85rem;
}

.store-request__result {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	text-align: left;
	padding: 0.45rem 0.55rem;
	border-radius: 6px;
	border: 1px solid rgba(115, 109, 98, 0.35);
	background: rgba(0, 0, 0, 0.22);
	color: var(--st-text);
	cursor: pointer;
}

.store-request__result:hover {
	border-color: var(--st-border-strong);
	background: rgba(0, 0, 0, 0.35);
}

.store-request__result.is-in-store {
	opacity: 0.72;
}

.store-request__result img {
	width: 36px;
	height: 36px;
	border-radius: 4px;
	flex: 0 0 auto;
}

.store-request__result-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.store-request__meta {
	font-size: 0.75rem;
	color: var(--st-muted);
}

.store-request__selected {
	padding-top: 0.55rem;
	border-top: 1px solid rgba(115, 109, 98, 0.3);
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.store-request__selected-main {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.store-request__selected-main img {
	width: 48px;
	height: 48px;
	border-radius: 5px;
}

.store-request__badge {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.12rem 0.4rem;
	border-radius: 999px;
	font-size: 0.7rem;
	color: #e0b4a8;
	border: 1px solid rgba(180, 90, 70, 0.45);
}

.store-request__prices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.store-request__submit {
	align-self: flex-start;
}

.store-request__msg {
	margin-top: 0.7rem;
	padding: 0.55rem 0.7rem;
	border-radius: 6px;
	font-size: 0.86rem;
}

.store-request__msg.is-ok {
	border: 1px solid rgba(179, 162, 110, 0.45);
	color: #d5c698;
	background: rgba(0, 0, 0, 0.25);
}

.store-request__msg.is-fail {
	border: 1px solid rgba(180, 90, 70, 0.45);
	color: #e0b4a8;
	background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 720px) {
	.store-request__prices {
		flex-direction: column;
	}
}

